<?php
namespace app\console\controller;
use app\model\Unifiedorder as SelfModel;
use app\model\LeasingCompany;

use think\db\exception\DataNotFoundException;
use think\db\exception\DbException;
use think\db\exception\ModelNotFoundException;
use think\facade\Request;
use think\facade\Route;
use think\facade\Session;
use think\facade\View;
use think\facade\Db;
use think\facade\Cache;
use think\facade\Cookie;
class Unifiedorder extends Base
{



    public function initialize()
    {
        parent::initialize();
        $this->model = "\app\model\Unifiedorder";
        $this->list_rows = 20;
        $this->where = [['member_id','in',Session::get('data_id_str')]];
    }
    public function select()
    {
            $leasing_company = LeasingCompany::order([ 'id' => 'desc'])->select()->toArray();
            View::assign('leasing_company', $leasing_company);

    }






}